package com.situ.javase.day12;

public class MyException extends Exception{
	// money表示取钱时候还差多少钱
	private Double money;
	
	public MyException(Double money) {
		super("余额不足还差" + money);
		this.money = money;
	}
	
	public Double getMoney() {
		return money;
	}
}
